<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<title>Prails API Documentation</title>
		<script type="text/javascript" src="../templates/main/js/prototype.js"></script>
		<style type="text/css">
			html, body { height: 100%; }
			.nav { float: left; width: 250px; }
			.content { float: left; width: 900px; height: auto; }
		</style>
	</head>
	<body>
		<h1 class="Heading_20_1"><a name="_API_Reference"><span/></a>API Reference</h1>
		<div class="nav">
			<h3>Table of Contents</h3>
			<ol>
				<li>
					<a target="content" href="Database.html">Database</a>
					<ol>
						<li><a target="content" href="Database.insert.html">insert</a></li>
						<li><a target="content" href="Database.query.html">query</a></li>
						<li><a target="content" href="Database.remove.html">remove</a></li>
						<li><a target="content" href="Database.select.html">select</a></li>
						<li><a target="content" href="Database.update.html">update</a></li>
					</ol>
				</li>	
				<li>
					<a target="content" href="TagLibs.html">TagLibs</a>
					<ol>
						<li><a target="content" href="TagLibs.body.html">body</a></li>
						<li><a target="content" href="TagLibs.foreach.html">foreach</a></li>
						<li><a target="content" href="TagLibs.hook.html">hook</a></li>
						<li><a target="content" href="TagLibs.if.html">if</a></li>
						<li><a target="content" href="TagLibs.include.html">include</a></li>
						<li><a target="content" href="TagLibs.input.html">input</a></li>
						<li><a target="content" href="TagLibs.print.html">print</a></li>
					</ol>
				</li>
				<li>
					<a target="content" href="StandardLibrary.html">Standard Library</a>
					<ol>
						<li><a target="content" href="StandardLibrary.checkFields.html">checkFields</a></li>
						<li><a target="content" href="StandardLibrary.createThumbnail.html">createThumbnail</a></li>
						<li><a target="content" href="StandardLibrary.doGet.html">doGet</a></li>
						<li><a target="content" href="StandardLibrary.doPost.html">doPost</a></li>
						<li><a target="content" href="StandardLibrary.getUserLanguage.html">getUserLanguage</a></li>
						<li><a target="content" href="StandardLibrary.hyperlink.html">hyperlink</a></li>
						<li><a target="content" href="StandardLibrary.invoke.html">invoke</a></li>
						<li><a target="content" href="StandardLibrary.ifsetsetvaroneof.html">if_set, set_var, one_of</a></li>
						<li><a target="content" href="StandardLibrary.isEmbed.html">isEmbed</a></li>
						<li><a target="content" href="StandardLibrary.jumpTo.html">jumpTo</a></li>
						<li><a target="content" href="StandardLibrary.sendMail.html">sendMail</a></li>
						<li><a target="content" href="StandardLibrary.timeDiff.html">timeDiff</a></li>
						<li><a target="content" href="StandardLibrary.tostring.html">tostring</a></li>
						<li><a target="content" href="StandardLibrary.toUTF8.html">toUTF8</a></li>
						<li><a target="content" href="StandardLibrary.wordCut.html">wordCut</a></li>
					</ol>
				</li>
				<li>
					<a target="content" href="Logging.html">Logging</a>
				</li>								
				<li>
					<a target="content" href="generator.html">Generator</a>
					<ol>
						<li><a target="content" href="generator.addHeader.html">addHeader</a></li>
						<li><a target="content" href="generator.addJavascript.html">addJavascript</a></li>
						<li><a target="content" href="generator.addStyleSheet.html">addStyleSheet</a></li>
						<li><a target="content" href="generator.getInstance.html">getInstance</a></li>
						<li><a target="content" href="generator.includeTemplate.html">includeTemplate</a></li>
						<li><a target="content" href="generator.setDescription.html">setDescription</a></li>
						<li><a target="content" href="generator.setIsAjax.html">setIsAjax</a></li>
						<li><a target="content" href="generator.setIsCachable.html">setIsCachable</a></li>
						<li><a target="content" href="generator.setKeywords.html">setKeywords</a></li>
						<li><a target="content" href="generator.setTitle.html">setTitle</a></li>
					</ol>
				</li>
				<li>
					<a target="content" href="Hooks.html">Hooks</a>
				</li>
			</ol>
		</div>
		
		<div id="content" class="content"></div>
		
		<script type="text/javascript">
			(function() {
				var loadPage = function(t) {
					new Ajax.Updater("content", t, {
						onComplete: function(req) {
							window.lastLoaded = t;
							req.responseText.match(/<title>(.*)<\/title>/gi);
							document.title = RegExp.$1;

							$$("a[target]").each(function(item) {
								item.onclick = function() {
									var t = this.getAttribute("href");
									location.href = location.href.replace(location.hash, "") + "#"+t;
									loadPage(t);
									return false;
								};
							});
						}
					});					
				}
				setInterval(function() {
					if (location.hash.length > 0) {
						var t = location.hash.replace("#", "");
						if (t != window.lastLoaded) {
							loadPage(t);
						}
					}
				}, 250);
				$$("a[target]").each(function(item) {
					item.onclick = function() {
						var t = this.getAttribute("href");
						location.href = location.href.replace(location.hash, "") + "#"+t;
						loadPage(t);
						return false;
					};
				});
			})();
		</script>
	</body>
</html>
